<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="tiles" uri="http://tiles.apache.org/tags-tiles"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>


<html>
<head>
</head>

<body>
    <table class="tborder" cellspacing="1" cellpadding="3" border="0" width="100%">
        <thead>
            <tr class="thead" align="center">
                <th align="left" width="57%" colspan="2">
                    Topic
                </th>
                <th nowrap="nowrap">Replies</th>
                <th nowrap="nowrap">Poster</th>
                <th nowrap="nowrap">Views</th>
                <th nowrap="nowrap">Last Action</th>
            </tr>
        </thead>
        <tbody>
            <c:if test="${not empty categories}">
            <c:forEach var="category" items="${categories}">
            <tr class="tfoot2">
                <td colspan="5">
                    <a href="javascript:;" style="margin: 3px 4px 0pt 0pt; float: right;">

                    </a>
                    <b>
                    <a href="javascript:;">${category.subject}</a>
                    </b>
                </td>
            </tr>
            <tr id="${category.id}" class="row1" align="center">
                <td id="tid-folder-${category.id}" width="1%">
                    <img border="0" alt="No new" src="style_images/shift_forum/f_hot_no.gif"/>
                </td>
                <td align="left">
                    <div>
                        <b>
                        <a href="javascript:;" style="font-size: 12px;">Neowin Site Announcements</a>
                        </b>
                    </div>
                    <div class="forumdesc">${category.description}</div>
                    <div class="forumdesc">${category.count}</div>
                </td>
                <td></td>
                <td></td>
                <td nowrap="nowrap" align="left">
                    <span class="lastaction">
                        ${category.count}
                    </span>
                </td>
            </tr>
            </c:forEach>
            </c:if>
        </tbody>
    </table>
</body>
</html>